package com.jr.pojo;

import java.sql.Timestamp;
import java.util.Date;

public class Employees {

    private Integer employeeId; //员工ID
    private String name; //员工姓名
    private Integer departmentId; //部门ID

    private Integer positionId; //职位ID
    private Date hireDate; //入职日期
    private Timestamp createdAt; //创建时间

    private Timestamp updatedAt; //更新时间
    private Integer age; //年龄


    public Employees() {
    }

    public Employees(Integer employeeId, String name, Integer departmentId,
                     Integer positionId, Date hireDate, Timestamp createdAt,
                     Timestamp updatedAt, Integer age) {
        this.employeeId = employeeId;
        this.name = name;
        this.departmentId = departmentId;
        this.positionId = positionId;
        this.hireDate = hireDate;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
        this.age = age;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

}
